﻿package  
{
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	import flash.events.Event;
	import flash.display.DisplayObject;
	/**
	 * ...
	 * @author chancidal
	 */
	public class Main extends Sprite
	{
		//
		private var m_ball:Ball;
		//
		public function Main() 
		{
			stage.addEventListener(MouseEvent.MOUSE_MOVE,createShow);
		}
		private function createShow(evt:MouseEvent):void{
			for (var i:int = 0; i < 2; i++) {
				m_ball = new Ball();
				m_ball.x = mouseX;
				m_ball.y = mouseY;
				addChild(m_ball);
			}
		}
		
	}

}